<tr>
  <td><b><%= indexInCollection+1 %></b></td>
  <td>
    <a class='user_avatar' href="/user/<%= user.loginname %>">
      <img src="<%= user.avatar_url %>" title="<%= user.loginname %>"/>
    </a>
    <span class='sp10'></span>
    <a href='/user/<%= user.loginname %>'><%= user.loginname %></a></td>
  <td><%= user_roles[user.user_role_code]['name'] %></td>
  <td><%= departments[user.department_code]['name'] %></td>
  <td><%= user.phone || '无' %></td>
  <td><%= user.position || '无' %></td>
  <td><%= user.topic_count %></td>
  <td><%= user.reply_count %></td>
  <td><%= user.is_block==true ? '禁用' : '可用'  %></td>
  <td>
    <a href="/usermanager/<%=user._id%>/edit" class="btn btn-info">编辑</a>
  </td>
</tr>
